<?php

namespace App\Http\Controllers\admin;

use App\AmountModel;
use App\ArticleModel;
use App\Http\Controllers\Controller;
use App\ManagerModel;
use App\TypeModel;
use App\UserModel;
use App\VipModel;
use Illuminate\Http\Request;

class ManagerController extends Controller
{
    public function manager(Request $request)
    {
       $author=$request->input("author");
       $idcard=$request->input("idcard");
       $mail=$request->input("mail");
       $phone=$request->input("phone");
       $pwd=$request->input("pwd");
       $ok=ManagerModel::create($request->input());
       return $this->success($ok);
    }
}
